.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 100px 100px 100px;
  gap: 10px;

  color: white;
}

.item1 {
  background-color:cadetblue;
  border-style: solid;
  border-width: 2px;
  border-color:darkolivegreen;
  border-radius: 5px;
  z-index: 0;

  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.item2 {
  background-color:lightcoral;
  border-style: solid;
  border-width: 2px;
  border-color:tomato;
  border-radius: 5px;
  z-index: 1;
  opacity: 0.5;

  grid-column: 2 / 5;
  grid-row: 2 / 4;
}